import { createApp } from 'vue'
import App from './App.vue'
import router from './router'
import i18n from './locales'

import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'
import 'element-plus/theme-chalk/dark/css-vars.css'
import { store, key } from './store'
import { configStore, configStoreKey } from './store/config.store'
import { NFTCreatorStore, NFTCreatorStoreKey } from './store/NFTCreator.store'

import './assets/css/main.css'

const app = createApp(App)

app.use(i18n)
app.use(router)
app.use(store, key)
app.use(configStore, configStoreKey)
app.use(NFTCreatorStore, NFTCreatorStoreKey)
app.use(ElementPlus, {size: 'mini'})

app.mount('#app')
